翻訳と辞書
Words near each other
・ Reader's Digest Guide to Love and Sex
・ Reader's Digest National Word Power Challenge
・ Reader's Digest Press
・ Reader's Digest Select Editions
・ Reader's theatre
・ Reader, Arkansas
・ Reader, Illinois
・ Reader, West Virginia
・ Reader-response criticism
・ Readercon
・ Readergirlz
・ Readers Choice Award
・ Readers International Model School
・ Readers' advisory
・ Readers' Guide to Periodical Literature
Readers–writer lock
・ Readers–writers problem
・ Readex
・ Readfield Union Meeting House
・ Readfield, Maine
・ Readfield, Wisconsin
・ Readhead baronets
・ Readhimer, Louisiana
・ ReadiBus
・ Readin' and Writin'
・ Readiness for enhanced spiritual well-being
・ Readiness to Sacrifice
・ Reading
・ Reading (computer)
・ Reading (legislature)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Readers–writer lock : ウィキペディア英語版
Readers–writer lock

In computer science, a readers–writer (RW) or shared-exclusive lock (also known as a multiple readers/single-writer lock〔
〕 or multi-reader lock〔("Practical lock-freedom" ) by Keir Fraser 2004〕) is a synchronization primitive that solves one of the readers–writers problems. An RW lock allows concurrent access for read-only operations, while write operations require exclusive access. This means that multiple threads can read the data in parallel but an exclusive lock is needed for writing or modifying data. When a writer is writing the data, all other writers or readers will be blocked until the writer is finished writing. A common use might be to control access to a data structure in memory that cannot be updated atomically and is invalid (and should not be read by another thread) until the update is complete.
Readers–writer locks are usually constructed on top of mutexes and condition variables, or on top of semaphores.
==Upgradable RW lock==
Some RW locks allow the lock to be atomically upgraded from being locked in read-mode to write-mode, as well as being downgraded from write-mode to read-mode. ()

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Readers–writer lock」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.